@import '~iview/src/styles/index.less';

@menu-dark-title: #2d3843;
@menu-dark-active-bg: #242d36;
@layout-sider-background: #2d3843;
@menu-submenu-background: #fff;
@menu-item-active: linear-gradient(to right, #1c5451, #1e4e4e, #27323b);

//主题色配置
@primary-color: #0aaf91;
@success-color: #0f0;
@danger-color: #f00;
@warning-color: #f6a828;
//头部色值配置 收缩
.main .headerBg1{
  background-image:url(assets/images/titlebg.jpg) !important;
  background-repeat:no-repeat;
  color:rgba(255,255,255,0.6);
  height:60px;
  background-position:-80px 0px;
}
.main .headerBg2{
  background:#01b99e url(assets/images/titlebg.jpg) no-repeat !important;
  color:rgba(255,255,255,0.6);
  height:60px;
  background-position:-250px 0px;
}
//logo背景展示
.main .minLogo{
  background-image:url(assets/images/titlebg.jpg) !important;
  background-repeat:no-repeat;
  color:rgba(255,255,255,0.6);
  height:60px;
  background-position:0px 0px;
}
.main .maxLogo{
  background-image:url(assets/images/titlebg.jpg) !important;
  background-repeat:no-repeat;
  color:rgba(255,255,255,0.6);
  height:60px;
  background-position:0px 0px;
}
//一级菜单选中样式配置
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu) {
  color: #fff !important;
}
//一级菜单选中效果
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-title{
  background-image:url(assets/images/menuSelect.png) !important;
  background-repeat:no-repeat;
  background-position: 0px 10px;
}
//二级菜单选中样式配置
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
  border-right: none;
  color: #fff;
  background: @menu-item-active !important;
}

//收缩后展示的下拉框
.ivu-select-dropdown {
  background-color: rgba(45, 56, 67, 0.9) !important;
}
.ivu-dropdown-item {
  color: rgba(255, 255, 255, 0.6) !important;
}
.ivu-dropdown-item:hover {
    background: #0aaf91 !important;
    color:#fff !important;
}
//全局配置
.ivu-menu-vertical .ivu-menu-opened > * > .ivu-menu-submenu-title-icon{
      transform: translateY(-50%) rotate(90deg);
}
